package JavaBean.demo1;

public class Person {
    private String name;
    private int age;
    public String getName(){
        return this.name;
    }
    public void setName(){
        this.name = name;
    }

    public int getAge(){
        return this.age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public boolean isChild(){
        return age <= 6;
    }
}
